#include <stdio.h>


int quote[2] = {
	'`',
	'\''
};

int main ()
{
	int c, q;

	q = 0;
	while ((c = getchar()) > 0)
	{
		if (c == '\"') {
			c = quote[q];
			putchar(c);
			putchar(c);
			q ^= 1;
		}
		else {
			putchar(c);
		}
	}

	return 0;
}